<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!--2. 内嵌式的js -->
    <!-- <script>
        alert('one more')
    </script> -->
    <!-- 3.外部js <script src=""></script>标签中间不能写东西 --> 
    <!-- <script src="my.js"></script> -->
</head>
<body>
    <!-- 1.行内式js 直接写到元素内部 -->
    <input type="button" value="第一次" onclick="alert('fist time')" >

</body>
</html>